class WarehousingReturnsDetailsEntity {
	String creatorUserId;
	String projectname;
	String supplierid;
	String creationTime;
	String lastModificationTime;
	List<WarehousingReturnsDetailsTaskdetaillist> taskDetailList;
	String warehouseinno;
	String lastModifierUserId;
	dynamic remark;
	String warehouseinid;
	dynamic applytime;
	String supplyname;
	dynamic total;
	bool isDeleted;
	String warehouseid;
	String tenantId;
	String taskno;
	String id;
	dynamic state;

	WarehousingReturnsDetailsEntity({this.creatorUserId, this.projectname, this.supplierid, this.creationTime, this.lastModificationTime, this.taskDetailList, this.warehouseinno, this.lastModifierUserId, this.remark, this.warehouseinid, this.applytime, this.supplyname, this.total, this.isDeleted, this.warehouseid, this.tenantId, this.taskno, this.id, this.state});

	WarehousingReturnsDetailsEntity.fromJson(Map<String, dynamic> json) {
		creatorUserId = json['creatorUserId'];
		projectname = json['projectname'];
		supplierid = json['supplierid'];
		creationTime = json['creationTime'];
		lastModificationTime = json['lastModificationTime'];
		if (json['taskDetailList'] != null) {
			taskDetailList = new List<WarehousingReturnsDetailsTaskdetaillist>();(json['taskDetailList'] as List).forEach((v) { taskDetailList.add(new WarehousingReturnsDetailsTaskdetaillist.fromJson(v)); });
		}
		warehouseinno = json['warehouseinno'];
		lastModifierUserId = json['lastModifierUserId'];
		remark = json['remark'];
		warehouseinid = json['warehouseinid'];
		applytime = json['applytime'];
		supplyname = json['supplyname'];
		total = json['total'];
		isDeleted = json['isDeleted'];
		warehouseid = json['warehouseid'];
		tenantId = json['tenantId'];
		taskno = json['taskno'];
		id = json['id'];
		state = json['state'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['creatorUserId'] = this.creatorUserId;
		data['projectname'] = this.projectname;
		data['supplierid'] = this.supplierid;
		data['creationTime'] = this.creationTime;
		data['lastModificationTime'] = this.lastModificationTime;
		if (this.taskDetailList != null) {
      data['taskDetailList'] =  this.taskDetailList.map((v) => v.toJson()).toList();
    }
		data['warehouseinno'] = this.warehouseinno;
		data['lastModifierUserId'] = this.lastModifierUserId;
		data['remark'] = this.remark;
		data['warehouseinid'] = this.warehouseinid;
		data['applytime'] = this.applytime;
		data['supplyname'] = this.supplyname;
		data['total'] = this.total;
		data['isDeleted'] = this.isDeleted;
		data['warehouseid'] = this.warehouseid;
		data['tenantId'] = this.tenantId;
		data['taskno'] = this.taskno;
		data['id'] = this.id;
		data['state'] = this.state;
		return data;
	}
}

class WarehousingReturnsDetailsTaskdetaillist {
  dynamic creatorUserId;
  dynamic productcode;
  String batchno;
  String materialname;
  String creationTime;
  String bigcode;
  String lastModificationTime;
  String middlecode;
  dynamic remark;
  String materialid;
  bool isDeleted;
  dynamic warehouseid;
  String smallname;
  dynamic model;
  String id;
  String taskid;
  String baseunitname;
  double recqty;
  double amount;
  String bigname;
  dynamic lastModifierUserId;
  String middlename;
  dynamic erpdetailid;
  String smallcode;
  double qty;
  dynamic tenantId;
  String materialcode;
  String imageurl;
  String spec;
  double quantity;

	WarehousingReturnsDetailsTaskdetaillist({this.creatorUserId,
  this.productcode,
  this.batchno,
  this.materialname,
  this.creationTime,
  this.bigcode,
  this.lastModificationTime,
  this.middlecode,
  this.remark,
  this.materialid,
  this.isDeleted,
  this.warehouseid,
  this.smallname,
  this.model,
  this.id,
  this.taskid,
  this.baseunitname,
  this.recqty,
  this.amount,
  this.bigname,
  this.lastModifierUserId,
  this.middlename,
  this.erpdetailid,
  this.smallcode,
  this.qty,
  this.tenantId,
  this.materialcode,
  this.imageurl});

	WarehousingReturnsDetailsTaskdetaillist.fromJson(Map<String, dynamic> json) {
creatorUserId = json['creatorUserId'];
productcode = json['productcode'];
batchno = json['batchno'];
materialname = json['materialname'];
creationTime = json['creationTime'];
bigcode = json['bigcode'];
lastModificationTime = json['lastModificationTime'];
middlecode = json['middlecode'];
remark = json['remark'];
materialid = json['materialid'];
isDeleted = json['isDeleted'];
warehouseid = json['warehouseid'];
smallname = json['smallname'];
model = json['model'];
id = json['id'];
taskid = json['taskid'];
baseunitname = json['baseunitname'];
recqty = json['recqty'];
amount = json['amount'];
bigname = json['bigname'];
lastModifierUserId = json['lastModifierUserId'];
middlename = json['middlename'];
erpdetailid = json['erpdetailid'];
smallcode = json['smallcode'];
qty = json['qty'];
tenantId = json['tenantId'];
imageurl = json['imageurl'];
materialcode = json['materialcode'];
spec = json['spec'];
quantity = json['quantity'];
	}

	Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['creatorUserId'] = this.creatorUserId;
    data['productcode'] = this.productcode;
    data['batchno'] = this.batchno;
    data['materialname'] = this.materialname;
    data['creationTime'] = this.creationTime;
    data['bigcode'] = this.bigcode;
    data['lastModificationTime'] = this.lastModificationTime;
    data['middlecode'] = this.middlecode;
    data['remark'] = this.remark;
    data['materialid'] = this.materialid;
    data['isDeleted'] = this.isDeleted;
    data['warehouseid'] = this.warehouseid;
    data['smallname'] = this.smallname;
    data['model'] = this.model;
    data['id'] = this.id;
    data['taskid'] = this.taskid;
    data['baseunitname'] = this.baseunitname;
    data['recqty'] = this.recqty;
    data['amount'] = this.amount;
    data['bigname'] = this.bigname;
    data['lastModifierUserId'] = this.lastModifierUserId;
    data['middlename'] = this.middlename;
    data['erpdetailid'] = this.erpdetailid;
    data['smallcode'] = this.smallcode;
    data['qty'] = this.qty;
    data['tenantId'] = this.tenantId;
    data['materialcode'] = this.materialcode;
    data['imageurl'] = this.imageurl;
    data['spec'] = this.spec;
    data['quantity'] = this.quantity;
    return data;
	}
}
